#!/bin/sh
your_name="我的世界"
echo "hello world ! ${your_name}"
echo ${#your_name} #输出长度

string="runoob is a great site"
echo ${string:1:4} # 输出从.到.

string="runoob is a great company"
echo `expr index "$string" is`  # 查找字符串位置

sleep 10